﻿
using System;
using System.ServiceModel;
using EasyComm.ServiceUnit;
namespace EasyComm.Contracts
{
    [ServiceContract]
    public interface IAdminWorkerContract
    {
        [OperationContract]
        ServiceResponse Initialize(Type serviceType, Uri NLBDiscoveryProxyAddress, Uri SLBDiscoveryProxyAddress);

        [OperationContract]
        WorkerServiceUnit GetWorkerService();

        [OperationContract]
        ServiceResponse LoadWorkerServiceAssembly(byte[] file, string fileName);
    }
}
